package cn.zh.npro.Activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;

import cn.zh.npro.MyApplication;
import cn.zh.npro.R;

public class MyCount extends BaseActivity {

    LinearLayout namelin,worklin,phlin,maillin,qqlin;
    Button outbt;
    MyApplication mapp;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_my_count);
        mapp= (MyApplication) getApplication();
        initmc();
        }


       public void initmc(){
           ImageView mc_back=findViewById(R.id.mc_back);
           namelin=findViewById(R.id.namelin);
           worklin=findViewById(R.id.worklin);
           outbt=findViewById(R.id.outbt);
           phlin=findViewById(R.id.phlin);
           maillin=findViewById(R.id.maillin);
           qqlin=findViewById(R.id.qqlin);
           namelin.setOnClickListener(this);
           worklin.setOnClickListener(this);
           phlin.setOnClickListener(this);
           maillin.setOnClickListener(this);
           qqlin.setOnClickListener(this);
           outbt.setOnClickListener(this);
           mc_back.setOnClickListener(new View.OnClickListener() {
               @Override
               public void onClick(View view) {
                   finish();
               }
           });
          }



    @Override
    public void onClick(View view) {
        super.onClick(view);
        int id=view.getId();
      Intent intent=null;
        switch (id){
            case R.id.namelin:
              getname();
                break;
            case R.id.worklin:

                break;
            case R.id.phlin:

                break;
            case R.id.maillin:

                break;
            case R.id.qqlin:

                break;
            case R.id.outbt:
                mapp.setIsld(true);
                finish();
                break;
          }


     }

    private void getname() {

    }


}
